﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TemplateWeb.Models.ViewModels.GroupViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="cate_area">
        <div class="bg_nav">
            <a href="<%= Url.Action("Index", "Home") %>">Trang chủ</a> » Tin tức
        </div>
        <div class="bg_760">
            <h4>
                <%= Model.SelectedLoaiTinTucModel.GetModel.LstObjModel[0].TenLoaiTinTuc %></h4>
        </div>
        <div class="clear">
        </div>
        <div class="bg_760_center" style="padding: 10px; width: 738px">
            <% foreach(var obj in Model.TinTucModel.GetModel.LstObjModel){ %>
            <div class="news_item" style="border-top: medium none;">
                <a href="<%= Url.Action("ChiTietTinTuc", "Home", new { id = obj.ID }) %>">
                    <img class="imgLeft" src="../../Content/Images/Items/<%= obj.HinhMinhHoa %>" alt="<%= obj.TieuDe %>" style="width: 100px; height: 110px;" /></a>
                <h4 class="font_title">
                    <a href="<%= Url.Action("ChiTietTinTuc", "Home", new { id = obj.ID }) %>"><%= obj.TieuDe %></a>
                </h4>
                <p class="news_title">
                    <%= Html.Truncate(obj.NoiDungRutGon, 300) %>
                </p>
                <div style="padding: 5px 0px; float: right">
                    <a class="AllProductsInCategories"href="<%= Url.Action("ChiTietTinTuc", "Home", new { id = obj.ID }) %>">Xem tiếp</a>
                </div>
            </div>
            <% } %>
        </div>
        <div class="clear">
        </div>
        <div class="bg_760_bt">
        </div>
    </div>
</asp:Content>
